<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>修改</title>
</head>
<body>
<form th:action="@{/course/update}" method="post">
    <input type="hidden" name="id" th:value="${course.id}">
    姓名：<input type="text" name="name" th:value="${course.name}"/><br/>
    性别：<input type="radio" name="sex" value="0" th:checked="${course.sex==0}"/>男
    <input type="radio" name="sex" value="1" th:checked="${course.sex==1}"/>女<br/>
    年龄：<input type="number" name="age" th:value="${course.age}"/><br/>
    生日：<input type="date" name="birthday" th:value="${#dates.format(course.birthday,'yyyy-MM-dd')}"/><br/>
    语文成绩：<input type="number" name="Chinese" th:value="${course.chinese}"/><br/>
    数学成绩：<input type="number" name="Math" th:value="${course.math}"/><br/>
    英语成绩：<input type="number" name="English" th:value="${course.english}"/><br/>
    <input type="submit" value="确定"/><br/>
</form>
</body>
</html>